package com.instant.dal.model;

import java.util.ArrayList;
import java.util.List;

public class DeviceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DeviceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeviceNoIsNull() {
            addCriterion("device_no is null");
            return (Criteria) this;
        }

        public Criteria andDeviceNoIsNotNull() {
            addCriterion("device_no is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceNoEqualTo(String value) {
            addCriterion("device_no =", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoNotEqualTo(String value) {
            addCriterion("device_no <>", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoGreaterThan(String value) {
            addCriterion("device_no >", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoGreaterThanOrEqualTo(String value) {
            addCriterion("device_no >=", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoLessThan(String value) {
            addCriterion("device_no <", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoLessThanOrEqualTo(String value) {
            addCriterion("device_no <=", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoLike(String value) {
            addCriterion("device_no like", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoNotLike(String value) {
            addCriterion("device_no not like", value, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoIn(List<String> values) {
            addCriterion("device_no in", values, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoNotIn(List<String> values) {
            addCriterion("device_no not in", values, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoBetween(String value1, String value2) {
            addCriterion("device_no between", value1, value2, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceNoNotBetween(String value1, String value2) {
            addCriterion("device_no not between", value1, value2, "deviceNo");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNull() {
            addCriterion("device_name is null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNotNull() {
            addCriterion("device_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameEqualTo(String value) {
            addCriterion("device_name =", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotEqualTo(String value) {
            addCriterion("device_name <>", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThan(String value) {
            addCriterion("device_name >", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThanOrEqualTo(String value) {
            addCriterion("device_name >=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThan(String value) {
            addCriterion("device_name <", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThanOrEqualTo(String value) {
            addCriterion("device_name <=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLike(String value) {
            addCriterion("device_name like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotLike(String value) {
            addCriterion("device_name not like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIn(List<String> values) {
            addCriterion("device_name in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotIn(List<String> values) {
            addCriterion("device_name not in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameBetween(String value1, String value2) {
            addCriterion("device_name between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotBetween(String value1, String value2) {
            addCriterion("device_name not between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("device_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("device_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(String value) {
            addCriterion("device_type =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(String value) {
            addCriterion("device_type <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(String value) {
            addCriterion("device_type >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("device_type >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(String value) {
            addCriterion("device_type <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(String value) {
            addCriterion("device_type <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLike(String value) {
            addCriterion("device_type like", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotLike(String value) {
            addCriterion("device_type not like", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<String> values) {
            addCriterion("device_type in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<String> values) {
            addCriterion("device_type not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(String value1, String value2) {
            addCriterion("device_type between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(String value1, String value2) {
            addCriterion("device_type not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusIsNull() {
            addCriterion("device_wheel_status is null");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusIsNotNull() {
            addCriterion("device_wheel_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusEqualTo(String value) {
            addCriterion("device_wheel_status =", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusNotEqualTo(String value) {
            addCriterion("device_wheel_status <>", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusGreaterThan(String value) {
            addCriterion("device_wheel_status >", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusGreaterThanOrEqualTo(String value) {
            addCriterion("device_wheel_status >=", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusLessThan(String value) {
            addCriterion("device_wheel_status <", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusLessThanOrEqualTo(String value) {
            addCriterion("device_wheel_status <=", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusLike(String value) {
            addCriterion("device_wheel_status like", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusNotLike(String value) {
            addCriterion("device_wheel_status not like", value, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusIn(List<String> values) {
            addCriterion("device_wheel_status in", values, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusNotIn(List<String> values) {
            addCriterion("device_wheel_status not in", values, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusBetween(String value1, String value2) {
            addCriterion("device_wheel_status between", value1, value2, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelStatusNotBetween(String value1, String value2) {
            addCriterion("device_wheel_status not between", value1, value2, "deviceWheelStatus");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedIsNull() {
            addCriterion("device_wheel_speed is null");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedIsNotNull() {
            addCriterion("device_wheel_speed is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedEqualTo(String value) {
            addCriterion("device_wheel_speed =", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedNotEqualTo(String value) {
            addCriterion("device_wheel_speed <>", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedGreaterThan(String value) {
            addCriterion("device_wheel_speed >", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedGreaterThanOrEqualTo(String value) {
            addCriterion("device_wheel_speed >=", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedLessThan(String value) {
            addCriterion("device_wheel_speed <", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedLessThanOrEqualTo(String value) {
            addCriterion("device_wheel_speed <=", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedLike(String value) {
            addCriterion("device_wheel_speed like", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedNotLike(String value) {
            addCriterion("device_wheel_speed not like", value, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedIn(List<String> values) {
            addCriterion("device_wheel_speed in", values, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedNotIn(List<String> values) {
            addCriterion("device_wheel_speed not in", values, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedBetween(String value1, String value2) {
            addCriterion("device_wheel_speed between", value1, value2, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceWheelSpeedNotBetween(String value1, String value2) {
            addCriterion("device_wheel_speed not between", value1, value2, "deviceWheelSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceFireIsNull() {
            addCriterion("device_fire is null");
            return (Criteria) this;
        }

        public Criteria andDeviceFireIsNotNull() {
            addCriterion("device_fire is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceFireEqualTo(String value) {
            addCriterion("device_fire =", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireNotEqualTo(String value) {
            addCriterion("device_fire <>", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireGreaterThan(String value) {
            addCriterion("device_fire >", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireGreaterThanOrEqualTo(String value) {
            addCriterion("device_fire >=", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireLessThan(String value) {
            addCriterion("device_fire <", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireLessThanOrEqualTo(String value) {
            addCriterion("device_fire <=", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireLike(String value) {
            addCriterion("device_fire like", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireNotLike(String value) {
            addCriterion("device_fire not like", value, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireIn(List<String> values) {
            addCriterion("device_fire in", values, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireNotIn(List<String> values) {
            addCriterion("device_fire not in", values, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireBetween(String value1, String value2) {
            addCriterion("device_fire between", value1, value2, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceFireNotBetween(String value1, String value2) {
            addCriterion("device_fire not between", value1, value2, "deviceFire");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedIsNull() {
            addCriterion("device_usb_speed is null");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedIsNotNull() {
            addCriterion("device_usb_speed is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedEqualTo(String value) {
            addCriterion("device_usb_speed =", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedNotEqualTo(String value) {
            addCriterion("device_usb_speed <>", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedGreaterThan(String value) {
            addCriterion("device_usb_speed >", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedGreaterThanOrEqualTo(String value) {
            addCriterion("device_usb_speed >=", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedLessThan(String value) {
            addCriterion("device_usb_speed <", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedLessThanOrEqualTo(String value) {
            addCriterion("device_usb_speed <=", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedLike(String value) {
            addCriterion("device_usb_speed like", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedNotLike(String value) {
            addCriterion("device_usb_speed not like", value, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedIn(List<String> values) {
            addCriterion("device_usb_speed in", values, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedNotIn(List<String> values) {
            addCriterion("device_usb_speed not in", values, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedBetween(String value1, String value2) {
            addCriterion("device_usb_speed between", value1, value2, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceUsbSpeedNotBetween(String value1, String value2) {
            addCriterion("device_usb_speed not between", value1, value2, "deviceUsbSpeed");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeIsNull() {
            addCriterion("device_led_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeIsNotNull() {
            addCriterion("device_led_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeEqualTo(String value) {
            addCriterion("device_led_type =", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeNotEqualTo(String value) {
            addCriterion("device_led_type <>", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeGreaterThan(String value) {
            addCriterion("device_led_type >", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeGreaterThanOrEqualTo(String value) {
            addCriterion("device_led_type >=", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeLessThan(String value) {
            addCriterion("device_led_type <", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeLessThanOrEqualTo(String value) {
            addCriterion("device_led_type <=", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeLike(String value) {
            addCriterion("device_led_type like", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeNotLike(String value) {
            addCriterion("device_led_type not like", value, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeIn(List<String> values) {
            addCriterion("device_led_type in", values, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeNotIn(List<String> values) {
            addCriterion("device_led_type not in", values, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeBetween(String value1, String value2) {
            addCriterion("device_led_type between", value1, value2, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedTypeNotBetween(String value1, String value2) {
            addCriterion("device_led_type not between", value1, value2, "deviceLedType");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorIsNull() {
            addCriterion("device_led_color is null");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorIsNotNull() {
            addCriterion("device_led_color is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorEqualTo(String value) {
            addCriterion("device_led_color =", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorNotEqualTo(String value) {
            addCriterion("device_led_color <>", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorGreaterThan(String value) {
            addCriterion("device_led_color >", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorGreaterThanOrEqualTo(String value) {
            addCriterion("device_led_color >=", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorLessThan(String value) {
            addCriterion("device_led_color <", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorLessThanOrEqualTo(String value) {
            addCriterion("device_led_color <=", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorLike(String value) {
            addCriterion("device_led_color like", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorNotLike(String value) {
            addCriterion("device_led_color not like", value, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorIn(List<String> values) {
            addCriterion("device_led_color in", values, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorNotIn(List<String> values) {
            addCriterion("device_led_color not in", values, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorBetween(String value1, String value2) {
            addCriterion("device_led_color between", value1, value2, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceLedColorNotBetween(String value1, String value2) {
            addCriterion("device_led_color not between", value1, value2, "deviceLedColor");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelIsNull() {
            addCriterion("device_dpi_level is null");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelIsNotNull() {
            addCriterion("device_dpi_level is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelEqualTo(String value) {
            addCriterion("device_dpi_level =", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelNotEqualTo(String value) {
            addCriterion("device_dpi_level <>", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelGreaterThan(String value) {
            addCriterion("device_dpi_level >", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelGreaterThanOrEqualTo(String value) {
            addCriterion("device_dpi_level >=", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelLessThan(String value) {
            addCriterion("device_dpi_level <", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelLessThanOrEqualTo(String value) {
            addCriterion("device_dpi_level <=", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelLike(String value) {
            addCriterion("device_dpi_level like", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelNotLike(String value) {
            addCriterion("device_dpi_level not like", value, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelIn(List<String> values) {
            addCriterion("device_dpi_level in", values, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelNotIn(List<String> values) {
            addCriterion("device_dpi_level not in", values, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelBetween(String value1, String value2) {
            addCriterion("device_dpi_level between", value1, value2, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceDpiLevelNotBetween(String value1, String value2) {
            addCriterion("device_dpi_level not between", value1, value2, "deviceDpiLevel");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeIsNull() {
            addCriterion("device_led_cyctime is null");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeIsNotNull() {
            addCriterion("device_led_cyctime is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeEqualTo(String value) {
            addCriterion("device_led_cyctime =", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeNotEqualTo(String value) {
            addCriterion("device_led_cyctime <>", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeGreaterThan(String value) {
            addCriterion("device_led_cyctime >", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeGreaterThanOrEqualTo(String value) {
            addCriterion("device_led_cyctime >=", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeLessThan(String value) {
            addCriterion("device_led_cyctime <", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeLessThanOrEqualTo(String value) {
            addCriterion("device_led_cyctime <=", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeLike(String value) {
            addCriterion("device_led_cyctime like", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeNotLike(String value) {
            addCriterion("device_led_cyctime not like", value, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeIn(List<String> values) {
            addCriterion("device_led_cyctime in", values, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeNotIn(List<String> values) {
            addCriterion("device_led_cyctime not in", values, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeBetween(String value1, String value2) {
            addCriterion("device_led_cyctime between", value1, value2, "deviceLedCyctime");
            return (Criteria) this;
        }

        public Criteria andDeviceLedCyctimeNotBetween(String value1, String value2) {
            addCriterion("device_led_cyctime not between", value1, value2, "deviceLedCyctime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}